using Newtonsoft.Json;

namespace AlipayPay.Infrastructure.Api
{
    /// <summary>
    /// 更新响应信息
    /// </summary>
    public class ApiUpdateResult
    {
        public ApiUpdateResult()
        {  
        }

        public ApiUpdateResult(bool success = true)
        {
            Success = success;
        }

        /// <summary>
        /// 是否成功
        /// </summary>
        [JsonProperty(PropertyName = "success")]
        public bool Success { get; set; } = true;
    }
}
